package com.tinem.platform.module.pojo.vo.auth.session;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className UserSessionToken
 * @description 用户token
 * @site
 * @company 
 * @create 2022-5-31
 */
@Data
public class UserSessionToken implements Serializable,Cloneable{
    @ApiModelProperty(name = "id", value = "jit",required = true)
    private String id;

    @ApiModelProperty(name = "clientId", value = "client_id",required = true)
    private String clientId;
    
    @ApiModelProperty(name = "userId", value = "用户id",required = true)
    private String userId;
    
    @ApiModelProperty(name = "exp", value = "过期时间",required = true)
    private java.util.Date exp;
    
    @ApiModelProperty(name = "jwt", value = "jwt",required = true)
    private String jwt;
    
    @ApiModelProperty(name = "revision", value = "乐观锁",required = false)
    private Integer revision;
    
    @ApiModelProperty(name = "createdBy", value = "创建人",required = false)
    private String createdBy;
    
    @ApiModelProperty(name = "createdTime", value = "创建时间",required = false)
    private java.util.Date createdTime;
    
    @ApiModelProperty(name = "updatedBy", value = "更新人",required = false)
    private String updatedBy;
    
    @ApiModelProperty(name = "updatedTime", value = "更新时间",required = false)
    private java.util.Date updatedTime;

}